<?php
$this->placeholder("navegacion")->set($this->navegacion($this->nav));
$this->placeholder( 'contenttab' )->captureStart();
$perfil = App_Perfil::getInstance();
$perfil->cargar("ADMIN_USUARIOS");

?>
<h2>Asignación de roles</h2>
<div style="width: 700px;" class="center-block" >
<form action="<?=$this->baseUrl("/usuarios/detalle/asignarrolesusuario");?>" method="post" name="formapara" encType="multipart/form-data">
<?php
echo $this->tabla;
if ($perfil->modificar()){
?>
<input type="submit" value="Guardar roles" class="btn btn-primary btn-sm center-block" />
<?php }?>
</form>
</div>
<?php
$this->placeholder( 'contenttab' )->captureEnd();
$this->tabs->agregar_contenido("Perfiles y funcionalidades", $this->placeholder( 'contenttab' ));
echo $this->tabs->renderElement();
?>

<script type="text/javascript">
//$(function() {
//	var oTable = $('#table_id').dataTable({
//		"bJQueryUI": true,
//		"bFilter" :false,
//		"bSort" :false,
//		"bInfo": false,
//		"bPaginate": false
//	});
//
//
//});
</script>